package com.javaeedev.junit;

import java.rmi.RemoteException;

import com.javaeedev.junit.AuthService;
import com.javaeedev.junit.AuthenticateException;

public class StubAuthService implements AuthService {

    public void authenticate(String username, String password) throws AuthenticateException, RemoteException {
        if(!username.equals(password))
            throw new AuthenticateException();
    }

}
